/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * InitPanel.java
 *
 * Created on 06/06/2011, 23:16:13
 */
package view;

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Image;
import javax.swing.ImageIcon;

/**
 *
 * @author mathyas
 */
public class InitPanel extends BasePanelControl {

    /** Creates new form InitPanel */
    public InitPanel() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 400, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 300, Short.MAX_VALUE)
        );
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

    @Override
    protected void paintComponent(Graphics g) {
        super.paintComponent(g);
        
        Image image = new ImageIcon(getClass().getResource("/image/imagem-capa.jpg")).getImage();
        g.drawImage(image, 0, 0, this.getWidth(), this.getHeight(), Color.black, this);
        
    }

    @Override
    public void start() {
        
    }

    @Override
    public void pause() {
        
    }

    @Override
    public void destroy() {
        
    }
    
    
}
